<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<script src="../js/view/jieColumn.js"></script>
        <script language='javascript' src='../js/scriptManager.js'>
        </script>
        <script language='javascript'>loadFiles("../");</script>
		<link rel="stylesheet" type="text/css" href="../css/jie.css">
		<title>Untitled Document</title>
	</head>
	<body>
	<div>
		<span id = "rowFixed" style="border: 2px solid #000000;width:400px; height: 500px;display: inline-block;"></span>
		<span id = "rowData" style="border: 2px solid #000000;width:400px; height: 500px;display: inline-block;"></span>
	</div>
<script>
try{
	var jr = new JieRow({}, null, document.getElementById("rowFixed"), document.getElementById("rowData"));
	var jco = new JieColumn("jie");
	jco.iWidth = "90px";
	jco.isFixed = true;
	var jc = new JieDataCell(jco);
	jc.setValue("2198791189789335546489");
	jc.setHeight("41");
//	alert(jc.getHeight());
	jr.appendCell(jc);
	
	jc = new JieDataCell(jco);
	jc.setHeight("20");
	jr.appendCell(jc);
	jc.setValue("2198791189789335546489");
//alert(jc.getWidth());
	
	jr.addRowToGrid();
	//alert(jc.getElement());
	//alert();
	
//	jr = new JieRow({}, document.getElementById("rowFixed"), document.getElementById("rowData"));
	jco = new JieColumn("jie");
	jco.iWidth = "90px";
	jco.isFixed = false;
	jc = new JieDataCell(jco);
	jc.setHeight("20");
//	alert(jc.getHeight());
	jr.appendCell(jc);
	
	jc = new JieDataCell(jco);
	jc.setHeight("20");
	jr.appendCell(jc);
//alert(jc.getWidth());
	
	jr.addRowToGrid();
	jc.setDisplay();
	jc.setDisplay(true);

	jr = new JieRow({}, 30, document.getElementById("rowFixed"), document.getElementById("rowData"));
	jco = new JieColumn("jie");
	jco.iWidth = "90px";
	jco.isFixed = true;
	jc = new JieDataCell(jco);
	jc.element.style.visibility="hidden";
	jc.setHeight("20");
	jr.appendCell(jc);
	
	jc = new JieDataCell(jco);
	jc.setHeight("20");
	jr.appendCell(jc);
//	jc.editCell();
//alert(jc.getWidth());
	
	jr.addRowToGrid();
	
//	jr = new JieRow({}, document.getElementById("rowFixed"), document.getElementById("rowData"));
	jco = new JieColumn("jie");
	jco.iWidth = "90px";
	jco.isFixed = false;
	jc = new JieDataCell(jco);
	jc.setHeight("20");
	jr.appendCell(jc);
	
	jc = new JieDataCell(jco);
	jc.setHeight("20");
	jr.appendCell(jc);
//alert(jc.getWidth());
	
	jr.addRowToGrid();

}catch(err){
	alert(err);
}
</script>
	</body>
</html>
